<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Java ME Embedded Project Properties Dialog Box: Sources</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="org.netbeans.modules.j2me.project.ui.customizer.J2MESourcesPanel" name="org.netbeans.modules.j2me.project.ui.customizer.J2MESourcesPanel"></a></p>
<div id="NBCSH5245"><!-- infolevel="all" infotype="General" --><a id="sthref781" name="sthref781"></a>
<h1>Java ME Embedded Project Properties Dialog Box: Sources</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to view the location of the project folder, manage source folders, and set the source level of the packages that the IDE uses.</p>
<p>Use the buttons on the right side of the panel to add, remove, and change the order of classpath elements.</p>

<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t23">Element</th>
<th align="left" valign="bottom" id="r1c2-t23">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t23" headers="r1c1-t23">
<p>Project Folder</p>
</td>
<td align="left" headers="r2c1-t23 r1c2-t23">Displays the path to the project folder.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t23" headers="r1c1-t23">
<p>Source Package Folders</p>
</td>
<td align="left" headers="r3c1-t23 r1c2-t23">Specifies the folder that contains the Java source code for the project. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG372">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>

<p>You must set the Source Package Folders to the folder that contains the default package.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t23" headers="r1c1-t23">
<p>Source/Binary Format</p>
</td>
<td align="left" headers="r4c1-t23 r1c2-t23">Specifies the JDK version that applies to the lowest Java platform version with which the Java code in your project is compatible. Default options range from JDK 1.3 to 8.
<p>This setting corresponds to the <code dir="ltr">javac -source</code> option. Setting the source/binary format helps prevent you from using Java language constructs that are not available in the platform version to which you want to deploy. However, setting the source/binary format does not ensure that the platform APIs are used compatibly with that platform version. To make sure that your application is fully compatible with an earlier Java platform version, switch to the <b>Libraries</b> tab and set the Java Platform setting to the minimum version on which you plan to deploy</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t23" headers="r1c1-t23">
<p>Includes/Excludes</p>
</td>
<td align="left" headers="r5c1-t23 r1c2-t23">Includes or excludes specific classes in or from compilation.
<p>In the <b>Configure Includes and Excludes</b> dialog, use <code dir="ltr">regex</code> patterns in the <b>Includes</b> and <b>Excludes</b> fields to specify which classes on the project classpath you want to have compiled. The <b>Included Files</b> and <b>Excluded Files</b> panes list the resources that are compiled based on the supplied patterns.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t23" headers="r1c1-t23">
<p>Encoding</p>
</td>
<td align="left" headers="r6c1-t23 r1c2-t23">Specifies the character encoding the IDE applies when it saves and displays project source files.
<p>The project character encoding determines how the IDE interprets characters in your source files. The IDE displays and saves any new files you create using the encoding set by the project in which they reside. The default character encoding used with projects is UTF-8. Use the <b>Encoding</b> drop-down to change the character encoding used with the project.</p>
</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p><b>Note:</b> Specifying the source/binary format does not change the Java platform. To set the Java Platform from which the tools are used or set the Java ME Platform that is used for compiling and running your project, click <b>Platform</b> and set the JDK Path and Java ME Platform settings accordingly. You cannot set the source/binary format of a project to a higher release than the lower value of the project's JDK or Java ME platform.</p>
<a id="NBCSH5251" name="NBCSH5251"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>, 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1558">
<param name="text" value="<html><u>&quot;Creating Java ME Projects&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>

<!-- -->
<!-- Start Footer -->


<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>
